package com.ddpt.platform.common.export.vo.merchant.task;

import com.ddpt.platform.common.export.Export;
import com.ddpt.platform.common.export.vo.QueryDataVo;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class TaskUserVo extends QueryDataVo {
    //任务id
    @Export(value = "任务id", isStr = true)
    private Long taskId;

    //用户id
    @Export(value = "用户id", isStr = true)
    private Long userId;

    //用户外部唯一标识
    @Export(value = "用户外部唯一标识")
    private String userUnionId;

    //任务标识
    @Export(value = "任务标识")
    private String taskCode;

    /**
     * 归属平台
     * com.ddpt.platform.merchant.api.enums.TaskRelationEnum
     */
    @Export(value = "归属平台")
    private String relationType;

    //关联信息
    @Export(value = "关联信息")
    private String relationInfo;

    //关联的额外信息
    @Export(value = "关联的额外信息")
    private String relationAttach;

    //过期时间
    @Export(value = "过期时间", isTime = true)
    private Long expireTime;


    /**
     * 任务状态 已完成，已失效，已领取
     * com.ddpt.platform.merchant.api.enums.TaskUserStatusEnum
     */
    @Export(value = "任务状态")
    private String status;

    //完成次数
    @Export(value = "完成次数", isStr = true)
    private Integer finishCount;

    //关联平台配置id
    @Export(value = "关联平台配置id", isStr = true)
    private Long externalMerchantConfigId;

    //完成时间
    @Export(value = "完成时间", isTime = true)
    private Long finishTime;
}
